package com.ruoyi.StarStudio.Domain;

import com.ruoyi.common.annotation.Excel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.HashMap;
import java.util.Map;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Zone {

    @Excel(name = "地块ID")
    private int zone_id; //地块id

    @Excel(name = "地块名称")
    private String zone_name; //地块名称

    @Excel(name = "地块面积")
    private double zone_area; //地块面积

    @Excel(name = "地块树木种植数量")
    private long zone_treeNum; //地块树木数量

    @Excel(name = "地块作物种类")
    private String zone_treeVariety; //地块作物种类

    /** 请求参数 */
    private Map<String, Object> params;

    public Map<String, Object> getParams()
    {
        if (params == null)
        {
            params = new HashMap<>();
        }
        return params;
    }

    public void setParams(Map<String, Object> params)
    {
        this.params = params;
    }

}
